import XEUtils from "xe-utils"

const defaultOperationColumn = { field: 'operation', title: '操作', width: 110, align: 'center', sortable: false, fixed: 'right', slots: { default: 'operation' } }
export const operationColumn = (width) => {
  let column = XEUtils.clone(defaultOperationColumn, true)
  if (width) { column.width = width }
  return column
}
